package cn.yangyanzhao.gupaoedu.rmi.rpc;

public class ClientDemo {
	public static void main(String[] args) {
		RpcClientProxy rpcClientProxy=new RpcClientProxy();
		
		IGupaoHello hello = rpcClientProxy.clientProxy(IGupaoHello.class,"localhost", 8888);
		
		System.out.println(hello.sayHello("zhangsan"));
	}
}
